package com.billing.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.billing.model.dao.FillcardMapper;
import com.billing.model.entity.TFillcard;
import com.billing.service.FillcardService;

@Service
public class FillcardServiceImpl implements FillcardService {

	@Resource
	private FillcardMapper fillcardMapper;
	
	@Override
	public int insertTFillcard(TFillcard fillcard) {
		return fillcardMapper.insertTFillcard(fillcard);
	}

	@Override
	public TFillcard getTFillcardById(int id) {
		return fillcardMapper.getTFillcardById(id);
	}


	@Override
	public List<TFillcard> getTFillcardListByAttid(int id, int attid,long starttime,long endtime) {
		return fillcardMapper.getTFillcardListByAttid(id, attid,starttime,endtime);
	}

}
